import React from "react";
import { Radio } from "antd";

function AppTypeRadio(props) {
    return (
        <div>
            <Radio.Group size="small" defaultValue="a" buttonStyle="solid" onChange={props.onChange}>
                <Radio.Button value="a">按APP风险</Radio.Button>
                <Radio.Button value="b">按APP总量</Radio.Button>
            </Radio.Group>
        </div>
    );
}

export default AppTypeRadio;
